package com.tian.user.controller;

import com.tian.common.result.BaseResult;
import com.tian.user.feign.ManageFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhumengping
 * @title: ManageUserController
 * @projectName zhump-cloud
 * @date 2023/8/1 17:06
 */
@RestController
@RequestMapping(value = "${system.apiPrefix}/manage")
public class ManageUserController {

    @Autowired
    private ManageFeignClient userFeign;

    @RequestMapping(value = "/userList")
    public BaseResult getManageUserList(){
        return userFeign.getUserList();
    }
}
